﻿@using CoreData
@model Article
@{
    ViewBag.Title = Model.Title;
}
@section HeadResource{
    <title>@ViewBag.Title</title>
    <link rel="stylesheet" type="text/css" href="@Url.Content("~/Content/css/article.css")">
}
@section BottomResource{
    <script type="text/javascript" src="@Url.Content("~/Content/plugins/belloSlideShow/js/belloSlideShow.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Content/js/article.js")"></script>
}
@if (Model != null)
{
    <div class="article-grid grid-view">
        <div class="row tab-project">
            <div class="product-body">
                <div class="grid-title">
                    <h3>
                        @Model.Title</h3>
                </div>
                <div class="article-view">
                    <div class="thumbnails primary-thumb">
                            <div class="span12">
                                <div class="thumbnail">
                                    <a href="/Media/Article/@Model.Image" target="_blank">
                                        <img src="/Media/Article/@Model.Image"  alt="@Model.Image"/>
                                    </a>
                                </div>
                            </div>
                        </div>
                    <div class="full-content">
                        <h3 class="white">
                            Giới thiệu</h3>
                        <div class="full-description">
                            @Html.Raw(Model.ShortDescription)
                        </div>
                        <div class="detail-cotnent">
                            <h3 class="white">
                                Chi tiết</h3>
                            @Html.Raw(Model.Content)
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    
    @Html.Action("_ListRelationArticle", "Article", new { id = Model.ID, catid = Model.CateID })
}